package com.riko.comic.module.sys.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.riko.comic.module.comic.bean.vo.ComicVo;
import com.riko.comic.module.sys.bean.po.ComicRank;

import java.util.HashMap;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wudechuang
 * @since 2021-11-01
 */
public interface IComicRankService extends IService<ComicRank> {
    ComicRank queryRank(ComicRank comicRank);

    Double queryRank(HashMap<String, Object> map);

    void updateRankByIds(ComicRank comicRank);

    Double queryAvgScore(Integer comicId);

    List<ComicVo> ranking();

    List<ComicVo> dayRanking(HashMap<String, String> map);

    List<ComicVo> monRanking(HashMap<String, String> map);
}
